import request from "@/utils/request.js";

export const getSchema = () =>
  request({
    url: "/getSchema",
    method: "get",
  });
export const setSchema = async (data) =>
  request({
    url: "/setSchema",
    method: "post",
    data,
  });
